import os.path
from os.path import join

LAST_PATH = os.path.dirname(os.getcwd())
LAST_PATH = join(LAST_PATH, "sumo")
LAST_PATH = join(LAST_PATH, "CADXWCFZ_sumo")
DEFAULT_PATH = join(LAST_PATH, "webgl")
DEFAULT_SCENE_PATH = join(LAST_PATH, "scene")
DEFAULT_SCENE_GANTRY_PATH = join(DEFAULT_SCENE_PATH, "gantry")
DEFAULT_SCENE_EMERGENCYLANECONFIG_PATH = join(DEFAULT_SCENE_PATH, "emergencyLaneConfig")
DEFAULT_SCENE_STATIONCONFIG_PATH = join(DEFAULT_SCENE_PATH, "stationConfig")

CONFIG_TASK_SUFFIX = '.task'
CONFIG_SUFFIX = '.sumocfg'
ROU_SUFFIX = '.rou.xml'
DEFAULT_CFG_NAME = '长安大学_openDrive_v0.sumocfg'
DEFAULT_ROU_NAME = 'hello.rou1.xml'
DEFAULT_GANTRY_NAME = 'gantry.json'
DEFAULT_GANTRY_NAME_HTF = 'gantryHCF.json'
DEFAULT_EMERGENCYLANECONFIG_NAME = 'emergencyLaneConfig.json'
DEFAULT_EMERGENCYLANECONTROL_NAME = 'emergencyLaneControl.json'
DEFAULT_STATIONCONFIG_NAME = 'stationConfig.json'
